Director Article

Chrome Library Set of 3D Behaviors for Shockwave 3D


Table of Contents

  1. Introduction
  2. Setting Up the 3D Scene of the Car
  3. Setting Up 32-bit Render Format for the Light Beams Alpha Channel
  4. Making the Beam of Light Objects Disappear
  5. Merging the Car Body and the Wheels
  6. Displaying a Video on the Booth Screen

Merging the Car Body and the Wheels

In my example, I have two separate W3D files. The main one contains the body of a car. The second one contains a set of four wheels (4 instances of the same wheel). You will merge the two W3D files so that the wheels load into the main scene and display under the car body. Their relative position has already been set in 3DS Max. You have two separate W3D files so that you can change the wheels of the car at runtime. You can create other W3D files with other kinds of wheels, too. To merge the car and the wheels, use the Load models into the scene behavior.

The Load models into the scene behavior

Figure 12. The Load models into the scene behavior

  1. Drag and drop the Load Models into the scene behavior onto the 3D scene. The parameter dialog box in Figure 13 appears.

    The parameter dialog box for the Load models into the scene behavior

    Figure 13. The parameter dialog box for the Load models into the scene behavior

  2. Select the W3D containing the wheels (in my case, alloy_wheel_16_inch_elegance). I can also specify the scale of the models (1.0 by default). This behavior loads all the models present in the specified W3D file, duplicates them in the target W3D scene (the sprite I dropped the behavior onto), and scales them to whatever size I want them to appear.
  3. Press OK.
  4. Press Play in the Director toolbar or press Enter/Return. The movie starts. In the score, the player head holds until the wheels are loaded. When done, they appear in the scene and the player head keeps going until the end of the sprite life span.

    The wheels loaded using the Load models into the scene behavior

    Figure 14. The wheels loaded using the Load models into the scene behavior